package com.ttl.bc.ap.purchaseorder.action;

import java.util.ArrayList;


import org.apache.struts.action.ActionForm;

@SuppressWarnings("serial")
public class BCPurchaseOrderForm extends ActionForm {

	private	String	poDocNo;
	private String	poDocDate;
	private String	poCreatorCode;
	private String	poMyDescription;
	private String	ittl_purchaseCode;

	private String  iTTL_deptRequest;
	
	public String getiTTL_deptRequest() {
		return iTTL_deptRequest;
	}
	public void setiTTL_deptRequest(String iTTLDeptRequest) {
		iTTL_deptRequest = iTTLDeptRequest;
	}
	
	private	String	apCode;	
	private	String	projectCode;
	private	String	currencyCode;
	
	private	float	sumOfItemAmount;
	private	float	discountAmount;
	private	float	taxAmount;	
	private	float	totalAmount;
	private	float	netAmount;	
			
	private String	itemCode1;
	private String	itemName1;
	private String	unitCode1;
	private	String	unitName1;
	private	float	qty1;
	private	float	price1;
	private	float	discountAmount1;
	private	float	amount1;
	private	String	myDescription1;
	
	private String	itemCode2;
	private String	itemName2;
	private String	unitCode2;
	private	String	unitName2;
	private	float	qty2;
	private	float	price2;
	private	float	discountAmount2;
	private	float	amount2;
	private	String	myDescription2;
	
	private String	itemCode3;
	private String	itemName3;
	private String	unitCode3;
	private	String	unitName3;
	private	float	qty3;
	private	float	price3;
	private	float	discountAmount3;
	private	float	amount3;
	private	String	myDescription3;
	
	private String	itemCode4;
	private String	itemName4;
	private String	unitCode4;
	private	String	unitName4;
	private	float	qty4;
	private	float	price4;
	private	float	discountAmount4;
	private	float	amount4;
	private	String	myDescription4;
	
	private	String	docNo;
	private	String	docDate;
	private	Integer	taxType;
	private	String	departCode;
	private	String	apName;
	private	String	myDescription;
	
	private	Float	exchangeRate;
	private	Float	taxRate;
	private	String	tempMyDesc1;	//เก็บคำอธิบาย
	private	String	tempMyDesc2;	//เก็บเลขที่อ้างอิง ใบ PO ของ ST (st running พ.1เองอีกที)
	private	String	tempMyDesc3;	//เก็บ ฝ่ายผู้เบิก, ฝ่ายผู้ชำระเงิน, หน่วยงบ
	private	String	tempMyDesc4;
	private	String	tempMyDesc5;	//เก็บเลขที่อ้างอิง พ.1 ของ ST (st running พ.1เองอีกที)
	private	String	tempMyDesc6;	//เก็บปริมาณคงเหลือ หรือคำว่า "[M.TRANSIT]"
	private String 	tempMyDesc7;	
	private String 	tempMyDesc8;
	private	String[]	ittl_rowOrderOfStkReq;
	private	String[]	lineNumber;
	private	String[]	itemCode;
	private	String[]	itemName;
	private	String[]	unitCode;
	private	String[]	qty;
	private	String[]	price;
	private	String[]	lineItemDiscountAmount;
	private	String[]	amount;
	private	String[]	stkReqNo;	
	private	String[]	confirmNo;
	private	String[]	lineItem_whCode;	
	private	String[]	lineItem_shelfCode;
	private	String[]	lineItem_departCode;	
	private	String[]	lineItem_projectCode;
	private	String[]	lineItem_netAmount;	
	private	String[]	lineItem_homeAmount;	
	private	String[]	myDescriptionItemName;
	
	@SuppressWarnings("unchecked")
	private	ArrayList	poSubs;

	
	
	
	public Float getExchangeRate() {
		return exchangeRate;
	}
	public void setExchangeRate(Float exchangeRate) {
		this.exchangeRate = exchangeRate;
	}
	public Float getTaxRate() {
		return taxRate;
	}
	public void setTaxRate(Float taxRate) {
		this.taxRate = taxRate;
	}
	public String getTempMyDesc8() {
		return tempMyDesc8;
	}
	public void setTempMyDesc8(String tempMyDesc8) {
		this.tempMyDesc8 = tempMyDesc8;
	}
	public String[] getQty() {
		return qty;
	}
	public void setQty(String[] qty) {
		this.qty = qty;
	}
	public String getDocNo() {
		return docNo;
	}
	public void setDocNo(String docNo) {
		this.docNo = docNo;
	}
	public String getDocDate() {
		return docDate;
	}
	public void setDocDate(String docDate) {
		this.docDate = docDate;
	}
	public Integer getTaxType() {
		return taxType;
	}
	public void setTaxType(Integer taxType) {
		this.taxType = taxType;
	}
	public String getApName() {
		return apName;
	}
	public void setApName(String apName) {
		this.apName = apName;
	}
	public String getMyDescription() {
		return myDescription;
	}
	public void setMyDescription(String myDescription) {
		this.myDescription = myDescription;
	}
	public String getTempMyDesc1() {
		return tempMyDesc1;
	}
	public void setTempMyDesc1(String tempMyDesc1) {
		this.tempMyDesc1 = tempMyDesc1;
	}
	public String getTempMyDesc2() {
		return tempMyDesc2;
	}
	public void setTempMyDesc2(String tempMyDesc2) {
		this.tempMyDesc2 = tempMyDesc2;
	}
	public String getTempMyDesc3() {
		return tempMyDesc3;
	}
	public void setTempMyDesc3(String tempMyDesc3) {
		this.tempMyDesc3 = tempMyDesc3;
	}
	public String getTempMyDesc4() {
		return tempMyDesc4;
	}
	public void setTempMyDesc4(String tempMyDesc4) {
		this.tempMyDesc4 = tempMyDesc4;
	}
	public String getTempMyDesc6() {
		return tempMyDesc6;
	}
	public void setTempMyDesc6(String tempMyDesc6) {
		this.tempMyDesc6 = tempMyDesc6;
	}
	public String getTempMyDesc7() {
		return tempMyDesc7;
	}
	public void setTempMyDesc7(String tempMyDesc7) {
		this.tempMyDesc7 = tempMyDesc7;
	}
	public String[] getIttl_rowOrderOfStkReq() {
		return ittl_rowOrderOfStkReq;
	}
	public void setIttl_rowOrderOfStkReq(String[] ittlRowOrderOfStkReq) {
		ittl_rowOrderOfStkReq = ittlRowOrderOfStkReq;
	}
	public String[] getLineNumber() {
		return lineNumber;
	}
	public void setLineNumber(String[] lineNumber) {
		this.lineNumber = lineNumber;
	}
	public String[] getItemCode() {
		return itemCode;
	}
	public void setItemCode(String[] itemCode) {
		this.itemCode = itemCode;
	}
	public String[] getItemName() {
		return itemName;
	}
	public void setItemName(String[] itemName) {
		this.itemName = itemName;
	}
	public String[] getUnitCode() {
		return unitCode;
	}
	public void setUnitCode(String[] unitCode) {
		this.unitCode = unitCode;
	}
	public String[] getPrice() {
		return price;
	}
	public void setPrice(String[] price) {
		this.price = price;
	}
	public String[] getLineItemDiscountAmount() {
		return lineItemDiscountAmount;
	}
	public void setLineItemDiscountAmount(String[] lineItemDiscountAmount) {
		this.lineItemDiscountAmount = lineItemDiscountAmount;
	}
	public String[] getAmount() {
		return amount;
	}
	public void setAmount(String[] amount) {
		this.amount = amount;
	}
	public String[] getStkReqNo() {
		return stkReqNo;
	}
	public void setStkReqNo(String[] stkReqNo) {
		this.stkReqNo = stkReqNo;
	}
	public String[] getConfirmNo() {
		return confirmNo;
	}
	public void setConfirmNo(String[] confirmNo) {
		this.confirmNo = confirmNo;
	}
	public String[] getLineItem_whCode() {
		return lineItem_whCode;
	}
	public void setLineItem_whCode(String[] lineItemWhCode) {
		lineItem_whCode = lineItemWhCode;
	}
	public String[] getLineItem_shelfCode() {
		return lineItem_shelfCode;
	}
	public void setLineItem_shelfCode(String[] lineItemShelfCode) {
		lineItem_shelfCode = lineItemShelfCode;
	}
	public String[] getLineItem_departCode() {
		return lineItem_departCode;
	}
	public void setLineItem_departCode(String[] lineItemDepartCode) {
		lineItem_departCode = lineItemDepartCode;
	}
	public String[] getLineItem_projectCode() {
		return lineItem_projectCode;
	}
	public void setLineItem_projectCode(String[] lineItemProjectCode) {
		lineItem_projectCode = lineItemProjectCode;
	}
	public String[] getLineItem_netAmount() {
		return lineItem_netAmount;
	}
	public void setLineItem_netAmount(String[] lineItemNetAmount) {
		lineItem_netAmount = lineItemNetAmount;
	}
	public String[] getLineItem_homeAmount() {
		return lineItem_homeAmount;
	}
	public void setLineItem_homeAmount(String[] lineItemHomeAmount) {
		lineItem_homeAmount = lineItemHomeAmount;
	}
	public String[] getMyDescriptionItemName() {
		return myDescriptionItemName;
	}
	public void setMyDescriptionItemName(String[] myDescriptionItemName) {
		this.myDescriptionItemName = myDescriptionItemName;
	}
	public String getUnitName1() {
		return unitName1;
	}
	public void setUnitName1(String unitName1) {
		this.unitName1 = unitName1;
	}
	public String getUnitName2() {
		return unitName2;
	}
	public void setUnitName2(String unitName2) {
		this.unitName2 = unitName2;
	}
	public String getUnitName3() {
		return unitName3;
	}
	public void setUnitName3(String unitName3) {
		this.unitName3 = unitName3;
	}
	public String getUnitName4() {
		return unitName4;
	}
	public void setUnitName4(String unitName4) {
		this.unitName4 = unitName4;
	}
	public String getMyDescription1() {
		return myDescription1;
	}
	public void setMyDescription1(String myDescription1) {
		this.myDescription1 = myDescription1;
	}
	public String getMyDescription2() {
		return myDescription2;
	}
	public void setMyDescription2(String myDescription2) {
		this.myDescription2 = myDescription2;
	}
	public String getMyDescription3() {
		return myDescription3;
	}
	public void setMyDescription3(String myDescription3) {
		this.myDescription3 = myDescription3;
	}
	public String getMyDescription4() {
		return myDescription4;
	}
	public void setMyDescription4(String myDescription4) {
		this.myDescription4 = myDescription4;
	}
	public float getDiscountAmount1() {
		return discountAmount1;
	}
	public void setDiscountAmount1(float discountAmount1) {
		this.discountAmount1 = discountAmount1;
	}
	public float getDiscountAmount2() {
		return discountAmount2;
	}
	public void setDiscountAmount2(float discountAmount2) {
		this.discountAmount2 = discountAmount2;
	}
	public float getDiscountAmount3() {
		return discountAmount3;
	}
	public void setDiscountAmount3(float discountAmount3) {
		this.discountAmount3 = discountAmount3;
	}
	public float getDiscountAmount4() {
		return discountAmount4;
	}
	public void setDiscountAmount4(float discountAmount4) {
		this.discountAmount4 = discountAmount4;
	}
	
	public String getTempMyDesc5() {
		return tempMyDesc5;
	}
	public void setTempMyDesc5(String tempMyDesc5) {
		this.tempMyDesc5 = tempMyDesc5;
	}
	@SuppressWarnings("unchecked")
	public ArrayList getPoSubs() {
		return poSubs;
	}
	@SuppressWarnings("unchecked")
	public void setPoSubs(ArrayList poSubs) {
		this.poSubs = poSubs;
	}
	public String getIttl_purchaseCode() {
		return ittl_purchaseCode;
	}
	public void setIttl_purchaseCode(String ittlPurchaseCode) {
		ittl_purchaseCode = ittlPurchaseCode;
	}
	public String getPoMyDescription() {
		return poMyDescription;
	}
	public void setPoMyDescription(String poMyDescription) {
		this.poMyDescription = poMyDescription;
	}
	public String getPoDocNo() {
		return poDocNo;
	}
	public void setPoDocNo(String poDocNo) {
		this.poDocNo = poDocNo;
	}

	public String getPoDocDate() {
		return poDocDate;
	}
	public void setPoDocDate(String poDocDate) {
		this.poDocDate = poDocDate;
	}
	public String getDepartCode() {
		return departCode;
	}
	public void setDepartCode(String departCode) {
		this.departCode = departCode;
	}
	public String getApCode() {
		return apCode;
	}
	public void setApCode(String apCode) {
		this.apCode = apCode;
	}

	public String getPoCreatorCode() {
		return poCreatorCode;
	}
	public void setPoCreatorCode(String poCreatorCode) {
		this.poCreatorCode = poCreatorCode;
	}
	public String getProjectCode() {
		return projectCode;
	}
	public void setProjectCode(String projectCode) {
		this.projectCode = projectCode;
	}
	public String getCurrencyCode() {
		return currencyCode;
	}
	public void setCurrencyCode(String currencyCode) {
		this.currencyCode = currencyCode;
	}
	public float getSumOfItemAmount() {
		return sumOfItemAmount;
	}
	public void setSumOfItemAmount(float sumOfItemAmount) {
		this.sumOfItemAmount = sumOfItemAmount;
	}
	public float getDiscountAmount() {
		return discountAmount;
	}
	public void setDiscountAmount(float discountAmount) {
		this.discountAmount = discountAmount;
	}
	public float getTaxAmount() {
		return taxAmount;
	}
	public void setTaxAmount(float taxAmount) {
		this.taxAmount = taxAmount;
	}
	public float getTotalAmount() {
		return totalAmount;
	}
	public void setTotalAmount(float totalAmount) {
		this.totalAmount = totalAmount;
	}
	public float getNetAmount() {
		return netAmount;
	}
	public void setNetAmount(float netAmount) {
		this.netAmount = netAmount;
	}
	public String getItemCode1() {
		return itemCode1;
	}
	public void setItemCode1(String itemCode1) {
		this.itemCode1 = itemCode1;
	}
	public String getItemName1() {
		return itemName1;
	}
	public void setItemName1(String itemName1) {
		this.itemName1 = itemName1;
	}
	public String getUnitCode1() {
		return unitCode1;
	}
	public void setUnitCode1(String unitCode1) {
		this.unitCode1 = unitCode1;
	}
	public float getQty1() {
		return qty1;
	}
	public void setQty1(float qty1) {
		this.qty1 = qty1;
	}
	public float getPrice1() {
		return price1;
	}
	public void setPrice1(float price1) {
		this.price1 = price1;
	}
	public float getAmount1() {
		return amount1;
	}
	public void setAmount1(float amount1) {
		this.amount1 = amount1;
	}
	public String getItemCode2() {
		return itemCode2;
	}
	public void setItemCode2(String itemCode2) {
		this.itemCode2 = itemCode2;
	}
	public String getItemName2() {
		return itemName2;
	}
	public void setItemName2(String itemName2) {
		this.itemName2 = itemName2;
	}
	public String getUnitCode2() {
		return unitCode2;
	}
	public void setUnitCode2(String unitCode2) {
		this.unitCode2 = unitCode2;
	}
	public float getQty2() {
		return qty2;
	}
	public void setQty2(float qty2) {
		this.qty2 = qty2;
	}
	public float getPrice2() {
		return price2;
	}
	public void setPrice2(float price2) {
		this.price2 = price2;
	}
	public float getAmount2() {
		return amount2;
	}
	public void setAmount2(float amount2) {
		this.amount2 = amount2;
	}
	public String getItemCode3() {
		return itemCode3;
	}
	public void setItemCode3(String itemCode3) {
		this.itemCode3 = itemCode3;
	}
	public String getItemName3() {
		return itemName3;
	}
	public void setItemName3(String itemName3) {
		this.itemName3 = itemName3;
	}
	public String getUnitCode3() {
		return unitCode3;
	}
	public void setUnitCode3(String unitCode3) {
		this.unitCode3 = unitCode3;
	}
	public float getQty3() {
		return qty3;
	}
	public void setQty3(float qty3) {
		this.qty3 = qty3;
	}
	public float getPrice3() {
		return price3;
	}
	public void setPrice3(float price3) {
		this.price3 = price3;
	}
	public float getAmount3() {
		return amount3;
	}
	public void setAmount3(float amount3) {
		this.amount3 = amount3;
	}
	public String getItemCode4() {
		return itemCode4;
	}
	public void setItemCode4(String itemCode4) {
		this.itemCode4 = itemCode4;
	}
	public String getItemName4() {
		return itemName4;
	}
	public void setItemName4(String itemName4) {
		this.itemName4 = itemName4;
	}
	public String getUnitCode4() {
		return unitCode4;
	}
	public void setUnitCode4(String unitCode4) {
		this.unitCode4 = unitCode4;
	}
	public float getQty4() {
		return qty4;
	}
	public void setQty4(float qty4) {
		this.qty4 = qty4;
	}
	public float getPrice4() {
		return price4;
	}
	public void setPrice4(float price4) {
		this.price4 = price4;
	}
	public float getAmount4() {
		return amount4;
	}
	public void setAmount4(float amount4) {
		this.amount4 = amount4;
	}
	

	
	
}
